package com.ce.server.mapper;

import com.ce.server.pojo.Schedule;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.time.LocalDateTime;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 郑爽
 * @since 2021-11-17
 */
public interface ScheduleMapper extends BaseMapper<Schedule> {


    /**
     * 获取当前工号为wno且在工作的员工
     * @param wno
     * @return
     */
    Schedule getScheduleByWnoAndTime(String wno, LocalDateTime now);

}
